package com.zmc.member.application;

import com.zmc.member.infrastructure.bean.query.ShoppingCartQuery;
import com.zmc.member.infrastructure.bean.vo.*;

import java.util.List;

/**
 * @Author：zmc
 * @Date：2024/11/4 18:37
 */
public interface ShoppingCartApplicationService {
    void merge(List<ShoppingCartVo> shoppingCartVo);

    void delete(List<String> skuIds);

    void add(ShoppingCartVo shoppingCartVo);

    void updateByCartItemId(ShoppingCartItemUpdateCountVo vo);

    void setSelectedStatus(ShoppingCartSelectedVo vo);

    void clearHasSelected();

    List<ShoppingCartVo> getSelectedList();


    List<ShoppingCartItemVo> shoppingCartList(ShoppingCartQuery query);


}
